
from PythonCard import model 

class TestGUI(model.Background):
	## resource file is bound to background found in script of same filename
	def on_dosomething_command(self, event):
		
		print 'combo: ', self.components.izbor.text
	
if __name__ == '__main__':
	##def __init__(self, frameClass, path to resource=None, rsrc_file as dictionary=None):
	app = model.Application(TestGUI, r'minimal_app.rsrc.py')
	from condition_dialog import execute_condition_dialog
	from Brain.condition import Condition
	ret = execute_condition_dialog(Condition())
	print ret.condition
	#app.MainLoop()












